home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global g1erSprNav, exitFrame, exitFrame, g1erSprLoc, gMaxBoutons, gEtudAct, gEtudPrec, gEtatEtud, gSujet0, gPartie, gTraduit, gLocLabel, gRetour, gLabel, gCDpath, gCodEnv, gTextEnvL, gVersion
- BigPurge()
- set gMaxBoutons to 24
- set gEtudPrec to gEtudAct
- set gEtudAct to "FI"
- set gLocLabel to "SU:RN fi"
- set gLabel to gRetour
- repeat with i = g1erSprLoc to gMaxBoutons
- set the visible of sprite i to 0
- end repeat
- set the visible of sprite 2 to 1
- set the visible of sprite 3 to 0
- set the visible of sprite 4 to 0
- set the visible of sprite 46 to 0
- set the visible of sprite 47 to 0
- if gEtudPrec <> "DX" then
- set monNumEnv to getPos(gCodEnv, gEtatEtud)
- else
- set monNumEnv to gEtatEtud
- set gEtatEtud to getAt(gCodEnv, monNumEnv)
- end if
- gScopeFi(Restore)
- gScopeFi(visible, 0)
- gScopeFi(Box, 20, 50, 430, 460)
- set monTxt to getAt(gTextEnvL, monNumEnv)
- if the number of lines in monTxt = 1 then
- gBoutons(habille, g1erSprLoc, "VIDE")
- end if
- set the text of cast "TXT ENV" to line 1 of monTxt
- end
-